package sunwin.yois.web.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by liangzizheng on 2015/8/25.
 */
//对应XML文件中的resp
public class WeatherDomain {
    private String city; //城市名称
    private String updateTime; //发布时间
    private String wendu; //温度
    private String fengli; //风力
    private String shidu; //湿度
    private String fengxiang; //风向
    private String sunrise; //日出时间
    private String sunset; //日落时间
    private List<WeatherDateDomain> weatherDateDomains;
    private List<WeatherNoticeDomain> weatherNotices;
    private EnvironmentDomain environmentDomain;
    private WeatherAlarmDomain weatherAlarmDomain;

    public WeatherDomain() {
        weatherDateDomains = new ArrayList<>();
        weatherNotices = new ArrayList<>();
        environmentDomain = new EnvironmentDomain();
        weatherAlarmDomain = new WeatherAlarmDomain();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getWendu() {
        return wendu;
    }

    public void setWendu(String wendu) {
        this.wendu = wendu;
    }

    public String getFengli() {
        return fengli;
    }

    public void setFengli(String fengli) {
        this.fengli = fengli;
    }

    public String getShidu() {
        return shidu;
    }

    public void setShidu(String shidu) {
        this.shidu = shidu;
    }

    public String getFengxiang() {
        return fengxiang;
    }

    public void setFengxiang(String fengxiang) {
        this.fengxiang = fengxiang;
    }

    public String getSunrise() {
        return sunrise;
    }

    public void setSunrise(String sunrise) {
        this.sunrise = sunrise;
    }

    public String getSunset() {
        return sunset;
    }

    public void setSunset(String sunset) {
        this.sunset = sunset;
    }

    public List<WeatherDateDomain> getWeatherDateDomains() {
        return weatherDateDomains;
    }

    public void setWeatherDateDomains(List<WeatherDateDomain> weatherDateDomains) {
        this.weatherDateDomains = weatherDateDomains;
    }

    public List<WeatherNoticeDomain> getWeatherNotices() {
        return weatherNotices;
    }

    public void setWeatherNotices(List<WeatherNoticeDomain> weatherNotices) {
        this.weatherNotices = weatherNotices;
    }

    public EnvironmentDomain getEnvironmentDomain() {
        return environmentDomain;
    }

    public void setEnvironmentDomain(EnvironmentDomain environmentDomain) {
        this.environmentDomain = environmentDomain;
    }

    public WeatherAlarmDomain getWeatherAlarmDomain() {
        return weatherAlarmDomain;
    }

    public void setWeatherAlarmDomain(WeatherAlarmDomain weatherAlarmDomain) {
        this.weatherAlarmDomain = weatherAlarmDomain;
    }

}
